﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LienHe.aspx.cs" Inherits="LienHe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <link href="<%=LinkHelper.GetLinkCss("jquery.realperson.css")%>" rel="Stylesheet" type="text/css" />
    <script src="<%=LinkHelper.GetLinkJs("jquery.min.js")%>" type="text/javascript"></script>
    <script src="<%=LinkHelper.GetLinkJs("jquery.realperson.js")%>" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('#txtMaXacNhan').realperson();
        });
    </script>

<div class="tab">
				<div class="ac-tab"><span><asp:Label ID="lbPageName" runat="server"></asp:Label></span></div>
			</div>
			<div class="details">
				<%= noidung %>
                    <div id="search_form" style="font-size: 12px">
            <center>

                <table>
                    <tr height="30px">
                        <td>
                           <asp:Label runat="server" id="lbTieuDe"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtTieuDe" name="email" Width="400px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="Dynamic"
                                ControlToValidate="txtTieuDe" ErrorMessage="Vui lòng nhập tiêu đề!" ValidationGroup="vdLienHe"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="100px">
                            <asp:Label runat="server" id="lbTenCongTy"></asp:Label>
                        </td>
                        <td>
                             <asp:TextBox runat="server" ID="txtTenCongTy" name="email" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" id="lbDiaChi"></asp:Label>
                        </td>
                        <td>
                             <asp:TextBox runat="server" ID="txtDiaChi" name="email" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" id="lbSoDienThoai"></asp:Label>
                        </td>
                        <td>
                             <asp:TextBox runat="server" ID="txtSoDienThoai" name="email" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <asp:Label runat="server" id="lbEmail"></asp:Label>
                        </td>
                        <td>
                             <asp:TextBox runat="server" ID="txtEmail" name="email" Width="400px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="Dynamic"
                                ControlToValidate="txtEmail" ErrorMessage="Vui lòng nhập Email của bạn!" ValidationGroup="vdLienHe"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
                                ControlToValidate="txtEmail" ErrorMessage="Email không đúng!" ValidationGroup="vdLienHe"
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" id="lbNoiDung"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtNoiDung" TextMode="MultiLine" name="noidung" 
                                Width="400px" Height="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" runat="server"
                                ControlToValidate="txtNoiDung" ErrorMessage="Vui lòng nhập nội dung góp ý!" ValidationGroup="vdLienHe"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label runat="server" id="lbMaXacNhan"></asp:Label>
                    </td>
                    <td>
                        <input type="text" id="txtMaXacNhan" name="txtMaXacNhan" style="width: 200px" /><br />
                        <asp:Label ID="lblthanhpho0" Visible="false" runat="server" Text="Mã xác nhận không đúng">
                        </asp:Label>
                    </td>
                </tr>
                </table>
                                         <asp:Button CssClass="button" runat="server" ID="btnGui" OnClick="btnGui_Click" ValidationGroup="vdLienHe"
                                 /></center>   

            
                </div>
			</div>
                <style type="text/css">
        #search_form
        {
            background: #F1F2F7;
            -moz-border-radius: 15px;
            border-radius: 15px;
            width:650px;
            padding: 20px 20px 20px 20px;
            color: #3B5998;
            margin:auto
        }
        #search_form td
        {
            padding: 0 5px 0 5px;
        }
        #search_form tr
        {
        }
        .bttSearch
        {
            background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
            background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
            -webkit-border-radius: 2px;
            -webkit-user-select: none;
            background-color: whiteSmoke;
            background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
            background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
            border: 1px solid gainsboro;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 2px;
            color: #666;
            cursor: pointer;
            font-size: 11px;
            font-weight: bold;
            height: 29px;
            line-height: 27px;
            margin: 11px 6px;
            min-width: 54px;
            padding: 0 8px;
            text-align: center;
        }
        #title-news {
            width: 745px;
            background: url(/images/title-news.png) repeat-x;
            height: 23px;
            border: 1px solid #D4D4D4;
            font-size: 12.5px;
            font-weight: 700;
            color: #54690B;
            padding-left: 10px;
            padding-top: 8px;
            margin-left: 0px;
            margin-top: 5px;
            margin-bottom: 5px;
            }
    </style>

</asp:Content>

